{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}Flasky{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>Hello, {% if current_user.is_authenticated() %}{{ current_user.username }}{% else %}Stranger{% endif %}!</h1>
    <h2>Sentiment menu</h2>
</div>
<div class="col-md-4">
    <form name="reload_form" method="post" action="{{ url_for('sentiment.reload') }}">
        {{ reload_form.reload_btn }}
    </form>
</div>
<div class="col-md-4">
    <form name="update_form" method="post" action="{{ url_for('sentiment.update') }}">
        {{ update_form.update_btn }}
    </form>
</div>
{% endblock %}
